enum ActivityProcessStatus {
  DRAFT = "draft",
  PROCESSING = "processing",
  PAUSED = "paused",
  FINISHED = "finished",
  CLOSED = "closed"
}

export const isActivityProcessStatus = (val: any): val is ActivityProcessStatus => {
  return [ActivityProcessStatus.DRAFT, ActivityProcessStatus.PROCESSING, ActivityProcessStatus.PAUSED, ActivityProcessStatus.FINISHED, ActivityProcessStatus.CLOSED].includes(val)
}

export default ActivityProcessStatus;